package com.mapull.enums;

/**
 * @author mapull
 * @date 2022-07-03
 */
public class SeasonDemo {
    public static void main(String[] args) {
        System.out.println("SPRING 下一个 " + SeasonEnum.SPRING.next());
        System.out.println("WINTER 下一个 " + SeasonEnum.WINTER.next());
        System.out.println("SPRING 上一个 " + SeasonEnum.SPRING.prev());
        System.out.println("WINTER 上一个 " + SeasonEnum.WINTER.prev());
    }
}
